package com.wolfpire.workflow.em;

/**
 * 节点类型
 * @author liushx
 *
 */
public enum NodeType {
	START("0", "start"),
	TASK("1", "task"),
	DECISION("2", "decision"),
	END("3", "end"),
	SUB_PROCESS("4", "sub-process"),
	FORK("5", "fork"),
	JOIN("6", "join"),
	SIGN("7", "sign");
	
	private String index;  
	private String name;  
		
    private NodeType(String index, String name) {   
        this.name = name;   
        this.index = index;   
    }  
    
    public String getName() {   
        return name;   
    }  
    
    public String getIndex() {   
        return index;   
    }
}
